#if defined(PRECOMIPLED_HEADER)
#include PRECOMPILED_HEADER
#else

#endif
using namespace sprite;

void readfile( char*& string, const char* filename );
void querysuccess( GLint hvs );
void Getvec4(vec4 vector,float& r, float& g, float& b, float& a);
void Setvec4(vec4 vector,float r, float g, float b, float a);
void SetRotationMatrix(float angle);
void SamplingPos(float x, float y, float width, float height, float fullwidth, float fullheight, float& s,float& t,float& u,float& v);
void SamplingTexcoord(float x, float y, float width, float height, float fullwidth, float fullheight, float& s,float& t,float& u,float& v);